Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NGeometry2D Class / Rotate Method / Rotate(NPoint[],Double,NPoint) Method
An array of points.
Rotation angle (in Radians).
Rotation pin point.


In This Topic
    Rotate(NPoint[],Double,NPoint) Method
    In This Topic
    Rotates the specified array of points around the specified pin point.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Rotate( _
       ByVal points() As NPoint, _
       ByVal angle As System.Double, _
       ByVal pin As NPoint _
    ) 
    'Usage
     
    
    Dim points() As NPoint
    Dim angle As System.Double
    Dim pin As NPoint
     
    NGeometry2D.Rotate(points, angle, pin)
    public static void Rotate( 
       NPoint[] points,
       System.double angle,
       NPoint pin
    )

    Parameters

    points
    An array of points.
    angle
    Rotation angle (in Radians).
    pin
    Rotation pin point.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also